<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SC2API: sc2::Effect Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="SC2-Logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SC2API
   </div>
   <div id="projectbrief">An API for AI for StarCraft II</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>sc2</b></li><li class="navelem"><a class="el" href="structsc2_1_1_effect.html">Effect</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structsc2_1_1_effect-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">sc2::Effect Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The visuals of a persistent ability on the map. (eg. Psistorm)  
 <a href="structsc2_1_1_effect.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="sc2__data_8h_source.html">sc2_data.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a581e59911e88973b8925d55c5850b8c5"><td class="memItemLeft" align="right" valign="top"><a id="a581e59911e88973b8925d55c5850b8c5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ReadFromProto</b> (const SC2APIProtocol::Effect &amp;effect)</td></tr>
<tr class="separator:a581e59911e88973b8925d55c5850b8c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a9662d93abf7bffd42ae9913df609ded4"><td class="memItemLeft" align="right" valign="top"><a id="a9662d93abf7bffd42ae9913df609ded4"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_effect.html#a9662d93abf7bffd42ae9913df609ded4">effect_id</a></td></tr>
<tr class="memdesc:a9662d93abf7bffd42ae9913df609ded4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of the effect. <br /></td></tr>
<tr class="separator:a9662d93abf7bffd42ae9913df609ded4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7fdd1cf25fcc10aa577c9cfdaf74525"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structsc2_1_1_point2_d.html">Point2D</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_effect.html#ad7fdd1cf25fcc10aa577c9cfdaf74525">positions</a></td></tr>
<tr class="separator:ad7fdd1cf25fcc10aa577c9cfdaf74525"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The visuals of a persistent ability on the map. (eg. Psistorm) </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="ad7fdd1cf25fcc10aa577c9cfdaf74525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7fdd1cf25fcc10aa577c9cfdaf74525">&#9670;&nbsp;</a></span>positions</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="structsc2_1_1_point2_d.html">Point2D</a>&gt; sc2::Effect::positions</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>All the positions that this effect is impacting on the map. eg. The Lurker's attack impacts multiple positions in a line. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/sc2api/<a class="el" href="sc2__data_8h_source.html">sc2_data.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
